<?php

class OOWP_Atom_SearchForm
    extends OOWP_Formattable
{
    protected function getFormatPieces( )
    {
        $pieces = array( );
        $pieces[ ] = '<form method="get" id="searchform" action="' . get_bloginfo('url') . '">';
        $pieces[ ] = '<input type="text" class="field" name="s" id="s"  placeholder="Search" />';
        $pieces[ ] = '<input type="submit" class="submit" name="submit" id="searchsubmit" value="Search" />';
        $pieces[ ] = '</form>';
        return $pieces;
    }
}
